package org.rslai.autotest.core.driver;

import java.net.MalformedURLException;
import org.openqa.selenium.WebDriver;

/**
 * Driver接口，ie、firefox或其他浏览器的WebDriver实现此接口
 * 
 * @author rslai
 */
public interface IDriver {

	/**
	 * 实例化 WebDriver
	 * 
	 * @throws MalformedURLException
	 */
	public void initDriver() throws MalformedURLException;

	/**
	 * 返回 WebDriver
	 */
	public WebDriver getDriver();

	/**
	 * 关闭 WebDriver
	 */
	public void quitDriver();

}
